import numpy as np


input = np.array(np.random.uniform(0, 3, 1000), dtype=np.float16)

sum_ = np.zeros([1],dtype=np.float16)

for number in input:
    sum_+=number


sum2_ = np.zeros([1],dtype=np.float16)

for i in range(10):
    tmp = input[i*500:(i+1)*500]
    sum2_+=tmp.sum()
input.sum()
import pdb
pdb.set_trace()